]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
altTab: use AltTab prefix on AppIcon class
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 19 Apr 2019 06:02:00 +0000 (09:02 +0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 9 Sep 2019 19:28:18 +0000 (19:28 +0000)
There's an AppIcon class on appDisplay, so it won't be easy to discern
the one we're going to add in altTab.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/700

js/ui/altTab.js

index 9d884cef503ec34fc2894741ebfa88a7e09f3314..55c680877f191e8265408b981407f8a4dd2467b3 100644 (file)
@@ -648,8 +648,9 @@ class WindowCyclerPopup extends CyclerPopup {
     }
 });
 
-var AppIcon = GObject.registerClass(
-class AppIcon extends St.BoxLayout {
+var AppIcon = GObject.registerClass({
+    GTypeName: 'AltTab_AppIcon'
+}, class AppIcon extends St.BoxLayout {
     _init(app) {
         super._init({ style_class: 'alt-tab-app',
                       vertical: true });